crypto/tls.clientHelloMsg.alpnProtocols (field)
16 uses
crypto/tls (current package)
handshake_client.go#L79: alpnProtocols: config.NextProtos,
handshake_client.go#L714: if err := checkALPN(hs.hello.alpnProtocols, hs.serverHello.alpnProtocol); err != nil {
handshake_client_tls13.go#L399: if err := checkALPN(hs.hello.alpnProtocols, encryptedExtensions.alpnProtocol); err != nil {
handshake_messages.go#L86: alpnProtocols []string
handshake_messages.go#L203: if len(m.alpnProtocols) > 0 {
handshake_messages.go#L208: for _, proto := range m.alpnProtocols {
handshake_messages.go#L501: m.alpnProtocols = append(m.alpnProtocols, string(proto))
handshake_server.go#L220: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols)
handshake_server.go#L869: SupportedProtos: clientHello.alpnProtocols,
handshake_server_tls13.go#L464: len(ch.alpnProtocols) != len(ch1.alpnProtocols) {
handshake_server_tls13.go#L492: for i := range ch.alpnProtocols {
handshake_server_tls13.go#L493: if ch.alpnProtocols[i] != ch1.alpnProtocols[i] {
handshake_server_tls13.go#L553: selectedProto, err := negotiateALPN(c.config.NextProtos, hs.clientHello.alpnProtocols)